package com.thread;

public class ThreadDemo01 extends Thread{
    @Override
    public void run() {
        for (int i = 0; i < 1000; i++) {
            System.out.println("MM"+i);
        }
    }

    public static void main(String[] args) {
        for (int i = 0; i < 1000; i++) {
            System.out.println("啊"+i);
        }

        ThreadDemo01 thread = new ThreadDemo01();
        thread.start();
    }
}

